package com.woniuxy.wd.dao.util;

import java.util.List;

public interface DAOInterface<T> {
	
	
	public abstract T findById(int id);
	
	public abstract T findByFK(int fk);
	
	public abstract List<T> findByProperties(String name);
	
	public abstract List<T> findByProperties(String... parms);
	
	public abstract List<T> findByProperties(String[] args0, String[] args1);
	
	public abstract int update(String[] args0, String[] args1);
	
	public abstract int save(T t);
	
	public abstract List<T> executeQuery(String sql);
}
